-
-
Notifications
You must be signed in to change notification settings - Fork 8.4k
[py] complete test_should_throw_an_exception_if_an_alert_has_not_been_dealt_with_and_dismiss_the_alert
#15559
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…n_dealt_with_and_dismiss_the_alert`
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
LGTM, adding @titusfortner to double check. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! 👍🏼
User description
💥 What does this PR do?
Implements alert test
test_should_throw_an_exception_if_an_alert_has_not_been_dealt_with_and_dismiss_the_alert
as it was marked as TODO🔧 Implementation Notes
Uses code from other tests as inspiration
💡 Additional Considerations
🔄 Types of changes
PR Type
Tests
Description
Implemented the test
test_should_throw_an_exception_if_an_alert_has_not_been_dealt_with_and_dismiss_the_alert
.Added logic to handle and dismiss alerts in the test.
Marked the test as expected to fail on Safari using
@pytest.mark.xfail_safari
.Changes walkthrough 📝
alerts_tests.py
Added and completed alert handling test
py/test/selenium/webdriver/common/alerts_tests.py
test_should_throw_an_exception_if_an_alert_has_not_been_dealt_with_and_dismiss_the_alert
.exception handling.